package com.practice.mapper.admin;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.practice.pojo.admin.entity.Advpos;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author itcast
 * @since 2023-05-15
 */
@Mapper
public interface AdvposMapper extends BaseMapper<Advpos> {



    //查询ydd_advpos表中id列的最大值
    @Select("SELECT max(id) FROM ydd_advpos")
    Long selectMaxId();

}
